package com.zhentao.day05;

public class Feeder {

  public void eat(Pet pet) {
    pet.eat();
  }

  public void eat(Dog dog){
    dog.eat();
  }
  /*
  public void eat(Cat cat) {
    cat.eat();
  }*/
}
